﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.AppService.Dto.WHOMDto;
using TR.AppService.Dto;
using TR.Domain.Entity;
using TR.Domain.Entity.roles;
using TR.Domain.Entity.WHOB;
using TR.Domain.Entity.Permission;

namespace TR.AppService.AppService.rbac_Users
{
    public interface Irbac_UserAppService
    {
        //根据登录名查询用户全部信息
        Task<rbac_User> UserSelect(string uname);
        //普通查询
        Task<List<rolesuser>> UserSelects();
        //分页查询
        Task<DtoFenYe<rolesuser>> WHOB_FenYeSelect(int mys, int dqy, string? qsj, string? hsj, rolesuser ws);
        //权限拿取
        Task<List<Trees>> GetTreeSelect();

    }
}
